package cn.edu.zut.cs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户管理
 * </p>
 *
 * @author user
 * @since 2021-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    @TableId(value = "userId", type = IdType.AUTO)
    private Integer userid;

    /**
     * 用户名
     */
    @TableField("userName")
    private String username;

    /**
     * 用户密码
     */
    @TableField("userPassword")
    private String userpassword;

    @TableField("userCompany")
    private String usercompany;

    @TableField("userLevel")
    private int userlevel;

    @TableField("userPhone")
    private String userphone;

    @TableField("userLocation")
    private String userlocation;

    @TableField("userReaName")
    private String userreaname;

    @TableField("userSex")
    private String usersex;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUsercompany() {
        return usercompany;
    }

    public void setUsercompany(String usercompany) {
        this.usercompany = usercompany;
    }

    public int getUserlevel() {
        return userlevel;
    }

    public void setUserlevel(int userlevel) {
        this.userlevel = userlevel;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getUserlocation() {
        return userlocation;
    }

    public void setUserlocation(String userlocation) {
        this.userlocation = userlocation;
    }

    public String getUserreaname() {
        return userreaname;
    }

    public void setUserreaname(String userreaname) {
        this.userreaname = userreaname;
    }
}
